package com.zh.work.entity.trans;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@ApiModel("网关今日交易实体信息")
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("online_trans_today")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class OnlineTransTodayEntity extends QrCodeTransTodayEntity {

  private static final long serialVersionUID = 7321747525134905385L;

  @ApiModelProperty(value = "主键", name = "id")
  @TableId(value = "id", type = IdType.AUTO)
  private Long id;

  @ApiModelProperty(value = "商户订单", name = "merchOrderNo")
  @TableField(value = "merch_orderno")
  private String merchOrderNo;

  @ApiModelProperty(value = "系统订单", name = "systemOrderNo")
  @TableField(value = "system_orderno")
  private String systemOrderNo;

  @ApiModelProperty(value = "开始金额", name = "amtBegin")
  @TableField(exist = false)
  private Float amtBegin;

  @ApiModelProperty(value = "结束金额", name = "amtEnd")
  @TableField(exist = false)
  private Float amtEnd;

}
